package com.gitee.pifeng.monitoring.server.business.server.service.impl;


import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.gitee.pifeng.monitoring.server.business.server.dao.IMonitorAlarmDefinitionDao;
import com.gitee.pifeng.monitoring.server.business.server.entity.MonitorAlarmDefinition;
import com.gitee.pifeng.monitoring.server.business.server.service.IMonitorAlarmDefinitionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


/**
 * <p>
 * 告警定义服务实现类
 * </p>
 *
 * @author 皮锋
 * @custom.date 2020年3月7日 下午5:03:49
 */
@Service
public class MonitorAlarmDefinitionServiceImpl extends ServiceImpl<IMonitorAlarmDefinitionDao, MonitorAlarmDefinition> implements IMonitorAlarmDefinitionService {

    /**
     * 数据库表数据访问对象
     */
    @Autowired
    private IMonitorAlarmDefinitionDao iMonitorAlarmDefinitionDao;

    @Override
    public MonitorAlarmDefinition selectMonitorAlarmDefinition(MonitorAlarmDefinition monitorAlarmDefinition)
    {
        return iMonitorAlarmDefinitionDao.selectMonitorAlarmDefinition(monitorAlarmDefinition);
    }


}
